namespace Core.Net
{
    /// <summary>
    /// 可以被直接序列化和反序列化的类需要实现该接口
    /// </summary>
    public interface IFlatToByte
    {
        IFlatToByte ReadFromFrame(Frame f);
        void FlatToByteBuf(ByteBuf b);
    }
}
